package com.yys;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class YysApplication {
//         netstat -aon|findstr “8080”
    public static void main(String[] args) {
        SpringApplication.run(YysApplication.class, args);

        try {
            Runtime.getRuntime().exec("cmd /c start http://localhost:8080/");
        } catch (Exception e) {
            e.printStackTrace();
        }

    }

}
